Optimal. Leaf size=63 \[ \frac {2}{3} a^2 A x^{3/2}+\frac {2}{11} b x^{11/2} (2 a B+A b)+\frac {2}{7} a x^{7/2} (a B+2 A b)+\frac {2}{15} b^2 B x^{15/2} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {448} \begin {gather*} \frac {2}{3} a^2 A x^{3/2}+\frac {2}{11} b x^{11/2} (2 a B+A b)+\frac {2}{7} a x^{7/2} (a B+2 A b)+\frac {2}{15} b^2 B x^{15/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 448
Rubi steps
\begin {align*} \int \sqrt {x} \left (a+b x^2\right )^2 \left (A+B x^2\right ) \, dx &=\int \left (a^2 A \sqrt {x}+a (2 A b+a B) x^{5/2}+b (A b+2 a B) x^{9/2}+b^2 B x^{13/2}\right ) \, dx\\ &=\frac {2}{3} a^2 A x^{3/2}+\frac {2}{7} a (2 A b+a B) x^{7/2}+\frac {2}{11} b (A b+2 a B) x^{11/2}+\frac {2}{15} b^2 B x^{15/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 53, normalized size = 0.84 \begin {gather*} \frac {2 x^{3/2} \left (385 a^2 A+105 b x^4 (2 a B+A b)+165 a x^2 (a B+2 A b)+77 b^2 B x^6\right )}{1155} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.04, size = 69, normalized size = 1.10 \begin {gather*} \frac {2 \left (385 a^2 A x^{3/2}+165 a^2 B x^{7/2}+330 a A b x^{7/2}+210 a b B x^{11/2}+105 A b^2 x^{11/2}+77 b^2 B x^{15/2}\right )}{1155} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.17, size = 54, normalized size = 0.86 \begin {gather*} \frac {2}{1155} \, {\left (77 \, B b^{2} x^{7} + 105 \, {\left (2 \, B a b + A b^{2}\right )} x^{5} + 385 \, A a^{2} x + 165 \, {\left (B a^{2} + 2 \, A a b\right )} x^{3}\right )} \sqrt {x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.31, size = 53, normalized size = 0.84 \begin {gather*} \frac {2}{15} \, B b^{2} x^{\frac {15}{2}} + \frac {4}{11} \, B a b x^{\frac {11}{2}} + \frac {2}{11} \, A b^{2} x^{\frac {11}{2}} + \frac {2}{7} \, B a^{2} x^{\frac {7}{2}} + \frac {4}{7} \, A a b x^{\frac {7}{2}} + \frac {2}{3} \, A a^{2} x^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 56, normalized size = 0.89 \begin {gather*} \frac {2 \left (77 B \,b^{2} x^{6}+105 A \,b^{2} x^{4}+210 B a b \,x^{4}+330 A a b \,x^{2}+165 B \,a^{2} x^{2}+385 a^{2} A \right ) x^{\frac {3}{2}}}{1155} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.05, size = 51, normalized size = 0.81 \begin {gather*} \frac {2}{15} \, B b^{2} x^{\frac {15}{2}} + \frac {2}{11} \, {\left (2 \, B a b + A b^{2}\right )} x^{\frac {11}{2}} + \frac {2}{3} \, A a^{2} x^{\frac {3}{2}} + \frac {2}{7} \, {\left (B a^{2} + 2 \, A a b\right )} x^{\frac {7}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 51, normalized size = 0.81 \begin {gather*} x^{7/2}\,\left (\frac {2\,B\,a^2}{7}+\frac {4\,A\,b\,a}{7}\right )+x^{11/2}\,\left (\frac {2\,A\,b^2}{11}+\frac {4\,B\,a\,b}{11}\right )+\frac {2\,A\,a^2\,x^{3/2}}{3}+\frac {2\,B\,b^2\,x^{15/2}}{15} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.53, size = 66, normalized size = 1.05 \begin {gather*} \frac {2 A a^{2} x^{\frac {3}{2}}}{3} + \frac {2 B b^{2} x^{\frac {15}{2}}}{15} + \frac {2 x^{\frac {11}{2}} \left (A b^{2} + 2 B a b\right )}{11} + \frac {2 x^{\frac {7}{2}} \left (2 A a b + B a^{2}\right )}{7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________